<h2>Owner List</h2>

<div class="actionBar">
[<?php echo CHtml::link('New Owner',array('create')); ?>]
[<?php echo CHtml::link('Manage Owner',array('admin')); ?>]
</div>

<?php $this->widget('CLinkPager',array('pages'=>$pages)); ?>

<?php foreach($models as $n=>$model): ?>
<div class="item">
<?php echo CHtml::encode($model->getAttributeLabel('id')); ?>:
<?php echo CHtml::link($model->id,array('show','id'=>$model->id)); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('first_name')); ?>:
<?php echo CHtml::encode($model->first_name); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('last_name')); ?>:
<?php echo CHtml::encode($model->last_name); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('gender')); ?>:
<?php echo CHtml::encode($model->gender); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('birth_date')); ?>:
<?php echo CHtml::encode($model->birth_date); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('address1')); ?>:
<?php echo CHtml::encode($model->address1); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('address2')); ?>:
<?php echo CHtml::encode($model->address2); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('address3')); ?>:
<?php echo CHtml::encode($model->address3); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('city_id')); ?>:
<?php echo CHtml::encode($model->city_id); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('email')); ?>:
<?php echo CHtml::encode($model->email); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('referent')); ?>:
<?php echo CHtml::encode($model->referent); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('service_id')); ?>:
<?php echo CHtml::encode($model->service_id); ?>
<br/>
<?php echo CHtml::encode($model->getAttributeLabel('adviser_initials')); ?>:
<?php echo CHtml::encode($model->adviser_initials); ?>
<br/>

</div>
<?php endforeach; ?>
<br/>
<?php $this->widget('CLinkPager',array('pages'=>$pages)); ?>